//入口文件
//引入Vue
import Vue from "vue"

//导入App组件
import app from "./App.vue"

//导入路由
import vueRouter from "vue-router"
//安装路由
Vue.use(vueRouter)

//导入自己的router.js文件
import router from "./router.js"


//引入 mint组件
import { Header,Swipe, SwipeItem } from 'mint-ui'

Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
//引入样式
import "mint-ui/lib/style.css"

//引入自己的样式
import "./css/index.less"

//引入mui的样式
import "./lib/mui/css/mui.min.css"
import "./lib/mui/css/icons-extra.css"


//导入 vue-resource 
import VueResource from "vue-resource"

Vue.use(VueResource)



//引入路由
// import router from "./router.js"

// Vue.use(router)


var vm = new Vue({
  el:"#app",
  render:c => c(app),
  router
})